{% load static %}
<link rel="stylesheet" href="{% static 'index.css' %}">

<head>
  <title>MMS Test</title>
    <link rel="icon" type="image/x-icon" href="/static/11.png">
</head>

<h1><a href="http://127.0.0.1:8000/members/adminpage/" style="color: white;">MMS(Mail-Management-System)</a></h1>

<h2 style="text-align: center; margin: 1ch; color:antiquewhite;">Update users!</h2>

<div style="margin: 0 auto;">


<form action="updaterecord/{{users.user_id}}" method="post">
{% csrf_token %}

<p style="color:antiquewhite; text-align:center">用戶ID:</p>
<input name="user_id" style="margin-left: 72ch;margin-right: 72ch; margin-top:2ch; margin-bottom:2ch" value="{{users.user_id}}">

<br><br>

<p style="color:antiquewhite; text-align:center">密码:</p>
<input name="passwd" style="margin-left: 72ch;margin-right: 72ch; margin-top:2ch; margin-bottom:2ch" value="{{users.passwd}}">

<br><br>

<p style="color:antiquewhite; text-align:center">用户名:</p>
<input name="user_name" style="margin-left: 72ch;margin-right: 72ch; margin-top:2ch; margin-bottom:2ch" value="{{users.user_name}}">

<br><br>

<p style="color:antiquewhite; text-align:center">用户性别:</p>
<input name="user_sex" style="margin-left: 72ch;margin-right: 72ch; margin-top:2ch; margin-bottom:2ch" value="{{users.user_sex}}">

<br><br>    
    
<input type="submit" value="Submit" style="margin-left: 75ch;margin-right: 72ch; margin-top:2ch; margin-bottom:2ch; color: white; 
background-color: #272830; width:14ch; height: 5ch;" >

</form>
</div>
